package org.dizem.groupon.service;

import org.dizem.groupon.model.domain.ItemEntity;

import java.io.File;
import java.util.List;

/**
 * User: dizem@126.com
 * Time: 11-6-28 下午12:52
 */
public interface ItemService extends ServiceSupport<ItemEntity> {
	void save(ItemEntity item, File[] images, String categoryName, String merchantName, String cityName);

	List<ItemEntity> loadPastList(int firstResult, int maxResult);

	List<ItemEntity> loadCurrentList(int firstResult, int maxResult);

	int getCurrentCount();

	int getPastCount();

}

